Skip to content

ci: tighten action-smoke assertion to exact no-bump values#12

Merged
lesnik512 merged 1 commit into
mainfrom
bugfix/tighten-smoke-assertion
Jun 9, 2026
Merged

ci: tighten action-smoke assertion to exact no-bump values#12
lesnik512 merged 1 commit into
mainfrom
bugfix/tighten-smoke-assertion

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Per the final reviewer of #10: replace test -n (non-empty) with exact-equality assertions so regressions in action.yml's status normalization or bump enum drift surface loudly instead of passing silently.

Before:

test -n "${{ steps.semvertag.outputs.status }}"
test -n "${{ steps.semvertag.outputs.bump }}"

After:

test "${{ steps.semvertag.outputs.status }}" = "no-bump"
test "${{ steps.semvertag.outputs.bump }}"   = "none"
test -z "${{ steps.semvertag.outputs.tag }}"

Test plan

  • CI green: the new assertion passes on this PR's no-bump commit (any feat/* or bugfix/* PR tip is a non-merge commit, branch-prefix returns no-bump, all three assertions hold).

`test -n` (non-empty) passed on any string, including a CLI status
leaking past action.yml's normalization (`no_merge_commit`,
`no_conforming_commit`, etc.). Tighten to exact equality:
status="no-bump", bump="none", tag empty. Failures now surface
regressions instead of being papered over by any-non-empty.
@lesnik512 lesnik512 force-pushed the bugfix/tighten-smoke-assertion branch from 6071699 to 2435c38 Compare June 9, 2026 05:57
@lesnik512 lesnik512 self-assigned this Jun 9, 2026
@lesnik512 lesnik512 merged commit a660073 into main Jun 9, 2026
6 checks passed
@lesnik512 lesnik512 deleted the bugfix/tighten-smoke-assertion branch June 9, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant